import { ParsedArgs } from "minimist";

// for the bin-vdev & cmd-*
export type CmdMap = { [fnName: string]: (miniArgv: ParsedArgs, rawArgv: string[]) => void }

export interface BuildOptions {
	watch?: boolean; // for rollup bundles for now
}

export interface WebBundle {
	name: string;
	entries: string | string[];
	dist: string; // distribution file path (from .dir)
	options?: any;
	type?: string;
}

export interface DevConfig {
	srcPath: string;
	bundleDir: string;
	bundles: WebBundle[];
	cleanPaths: string[];
}

